package com.ud.smp.search.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author wendal
 * @since 2021-09-25
 */
@TableName("SERIES")
public class Series extends Model<Series> {

    private static final long serialVersionUID = 1L;

    @TableId("SERIESID")
    private Integer seriesid;

    @TableField("NAME")
    private String name;

    @TableField("CODE")
    private String code;

    /**
     * 原始code
     */
    @TableField("CODE2")
    private String code2;

    /**
     * 1-编目未完成 2-等待审核 3-审核未通过 4-审核已通过 9-已删除
     */
    @TableField("STATUS")
    private String status;

    /**
     * 是否已出库  0未出库；1已出库
     */
    @TableField("STOCKOUTFLAG")
    private String stockoutflag;

    /**
     * refer to vsp.vspid
     */
    @TableField("VSPID")
    private Integer vspid;

    @TableField("ALIAS")
    private String alias;

    /**
     * name for sorting
     */
    @TableField("TITLE_SORT_NAME")
    private String titleSortName;

    /**
     * name for searching
     */
    @TableField("TITLE_SEARCH_NAME")
    private String titleSearchName;

    /**
     * original date on air
     */
    @TableField("ORGAIRDATE")
    private String orgairdate;

    /**
     * license_window_start
     */
    @TableField("VALIDTHROUGH")
    private LocalDateTime validthrough;

    /**
     * license_window_end
     */
    @TableField("VALIDUNTIL")
    private LocalDateTime validuntil;

    /**
     * package list price include tax
     */
    @TableField("PRICE")
    private Double price;

    /**
     * the count of series program
     */
    @TableField("VOLUMCOUNT")
    private Integer volumcount;

    /**
     * description
     */
    @TableField("DESCRIPTION")
    private String description;

    /**
     * 审核意见
     */
    @TableField("MEMO")
    private String memo;

    /**
     * 主要人物
     */
    @TableField("KPEOPLE")
    private String kpeople;

    /**
     * 导演
     */
    @TableField("DIRECTOR")
    private String director;

    /**
     * 编剧
     */
    @TableField("SCRIPTWRITER")
    private String scriptwriter;

    /**
     * 节目主持人
     */
    @TableField("COMPERE")
    private String compere;

    /**
     * 受访者
     */
    @TableField("GUEST")
    private String guest;

    /**
     * 记者
     */
    @TableField("REPORTER")
    private String reporter;

    /**
     * 其他责任人
     */
    @TableField("OPINCHARGE")
    private String opincharge;

    /**
     * default sysdate
     */
    @TableField("CREATEDATE")
    private LocalDateTime createdate;

    /**
     * refer to staff.staffid
     */
    @TableField("CREATESTAFFID")
    private Integer createstaffid;

    @TableField("LASTUPDATETIME")
    private LocalDateTime lastupdatetime;

    /**
     * Defaut '0' 0: 连续剧, 1: 系列片
     */
    @TableField("SERIESTYPE")
    private String seriestype;

    /**
     * refer to labeltype.labeltype
     */
    @TableField("LABELTYPE")
    private Integer labeltype;

    /**
     * 类型
     */
    @TableField("GENRE")
    private String genre;

    /**
     * 上映年份
     */
    @TableField("RELEASEYEAR")
    private String releaseyear;

    @TableField("COPYRIGHT")
    private String copyright;

    @TableField("CONTENTPROVIDER")
    private String contentprovider;

    /**
     * 目录结构
     */
    @TableField("COLUMNPATH")
    private String columnpath;

    /**
     * 版权过期时间
     */
    @TableField("COPYRIGHTEXPIRATIONTIME")
    private LocalDateTime copyrightexpirationtime;

    @TableField("TYPE1")
    private String type1;

    /**
     * 1:lock0:unlock
     */
    @TableField("LOCKFLAG")
    private String lockflag;

    @TableField("PGMCATEGORY")
    private String pgmcategory;

    @TableField("PGMSNDCLASS")
    private String pgmsndclass;

    @TableField("ORIGINALCOUNTRY")
    private String originalcountry;

    @TableField("CONTENTPROVIDERID")
    private Integer contentproviderid;

    @TableField("COPYRIGHTERID")
    private Integer copyrighterid;

    /**
     * 0-粗编,1-精编
     */
    @TableField("EDITMODE")
    private String editmode;

    /**
     * 节目标签，label.labelid,多个标签之间用“，”隔开
     */
    @TableField("LABELIDS")
    private String labelids;

    /**
     * 第一次提交审核需写半自动临时表，是否写过标识,0：没写过（默认），1：已写过
     */
    @TableField("AUTOFLAG")
    private String autoflag;

    /**
     * 节目发布标识：0：未发布，1：已发布，2：发布失败，3：发布中，6：发布到测试中，8：发布到测试成功,9：发布到测试失败
     */
    @TableField("PUBLISHFLAG")
    private String publishflag;

    /**
     * 0-可用（default），1-不可用
     */
    @TableField("USABLEFLAG")
    private String usableflag;

    /**
     * 评分
     */
    @TableField("RATING")
    private String rating;

    @TableField("PROGRAMTYPEID")
    private Integer programtypeid;

    /**
     * refer epgpublisheventdetail
     */
    @TableField("EPGPUBLISHEVENTDETAILID")
    private Integer epgpublisheventdetailid;

    @TableField("LASTUPDATESTAFFID")
    private Integer lastupdatestaffid;

    /**
     * 0:series,1:programSet default 0
     */
    @TableField("SETFLAG")
    private Integer setflag;

    @TableField("HWCODE")
    private String hwcode;

    @TableField("ZTECODE")
    private String ztecode;

    /**
     * 融合类型表示,融合之前值为空.融合之后:1:正片;2:花絮;3:片花
     */
    @TableField("MERGETYPE")
    private String mergetype;

    /**
     * 推荐指数
     */
    @TableField("RECOMMENDEDINDEX")
    private String recommendedindex;

    /**
     * 同内容标题
     */
    @TableField("SIMILARCONTENTTITLE")
    private String similarcontenttitle;

    /**
     * 花絮菜单名称
     */
    @TableField("TITBITSMENUNAME")
    private String titbitsmenuname;

    /**
     * 版本菜单名称
     */
    @TableField("VERSIONMENUNAME")
    private String versionmenuname;

    /**
     * 选季菜单名称
     */
    @TableField("SEASONMENUNAME")
    private String seasonmenuname;

    /**
     * 所属内容组标识（详情模板名称），关联policytag4detailid
     */
    @TableField("POLICYTAG4DETAIL")
    private Integer policytag4detail;

    /**
     * 选集菜单名称
     */
    @TableField("EPISODESMENUNAME")
    private String episodesmenuname;

    /**
     * 选集类型(1:横板2:竖版3:文字 默认文字)
     */
    @TableField("EPISODESSTYLE")
    private String episodesstyle;

    /**
     * 花絮类型(1:横板2:竖版3:文字 默认横版)
     */
    @TableField("TITBITSSTYLE")
    private String titbitsstyle;

    /**
     * 选季类型(1:横板2:竖版3:文字 默认横版)
     */
    @TableField("SEASONSTYLE")
    private String seasonstyle;

    /**
     * 版本类型(1:横板2:竖版3:文字 默认横版)
     */
    @TableField("VERSIONSTYLE")
    private String versionstyle;

    /**
     * 副题名
     */
    @TableField("EPITITLE")
    private String epititle;


    public Integer getSeriesid() {
        return seriesid;
    }

    public void setSeriesid(Integer seriesid) {
        this.seriesid = seriesid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getCode2() {
        return code2;
    }

    public void setCode2(String code2) {
        this.code2 = code2;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStockoutflag() {
        return stockoutflag;
    }

    public void setStockoutflag(String stockoutflag) {
        this.stockoutflag = stockoutflag;
    }

    public Integer getVspid() {
        return vspid;
    }

    public void setVspid(Integer vspid) {
        this.vspid = vspid;
    }

    public String getAlias() {
        return alias;
    }

    public void setAlias(String alias) {
        this.alias = alias;
    }

    public String getTitleSortName() {
        return titleSortName;
    }

    public void setTitleSortName(String titleSortName) {
        this.titleSortName = titleSortName;
    }

    public String getTitleSearchName() {
        return titleSearchName;
    }

    public void setTitleSearchName(String titleSearchName) {
        this.titleSearchName = titleSearchName;
    }

    public String getOrgairdate() {
        return orgairdate;
    }

    public void setOrgairdate(String orgairdate) {
        this.orgairdate = orgairdate;
    }

    public LocalDateTime getValidthrough() {
        return validthrough;
    }

    public void setValidthrough(LocalDateTime validthrough) {
        this.validthrough = validthrough;
    }

    public LocalDateTime getValiduntil() {
        return validuntil;
    }

    public void setValiduntil(LocalDateTime validuntil) {
        this.validuntil = validuntil;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Integer getVolumcount() {
        return volumcount;
    }

    public void setVolumcount(Integer volumcount) {
        this.volumcount = volumcount;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public String getKpeople() {
        return kpeople;
    }

    public void setKpeople(String kpeople) {
        this.kpeople = kpeople;
    }

    public String getDirector() {
        return director;
    }

    public void setDirector(String director) {
        this.director = director;
    }

    public String getScriptwriter() {
        return scriptwriter;
    }

    public void setScriptwriter(String scriptwriter) {
        this.scriptwriter = scriptwriter;
    }

    public String getCompere() {
        return compere;
    }

    public void setCompere(String compere) {
        this.compere = compere;
    }

    public String getGuest() {
        return guest;
    }

    public void setGuest(String guest) {
        this.guest = guest;
    }

    public String getReporter() {
        return reporter;
    }

    public void setReporter(String reporter) {
        this.reporter = reporter;
    }

    public String getOpincharge() {
        return opincharge;
    }

    public void setOpincharge(String opincharge) {
        this.opincharge = opincharge;
    }

    public LocalDateTime getCreatedate() {
        return createdate;
    }

    public void setCreatedate(LocalDateTime createdate) {
        this.createdate = createdate;
    }

    public Integer getCreatestaffid() {
        return createstaffid;
    }

    public void setCreatestaffid(Integer createstaffid) {
        this.createstaffid = createstaffid;
    }

    public LocalDateTime getLastupdatetime() {
        return lastupdatetime;
    }

    public void setLastupdatetime(LocalDateTime lastupdatetime) {
        this.lastupdatetime = lastupdatetime;
    }

    public String getSeriestype() {
        return seriestype;
    }

    public void setSeriestype(String seriestype) {
        this.seriestype = seriestype;
    }

    public Integer getLabeltype() {
        return labeltype;
    }

    public void setLabeltype(Integer labeltype) {
        this.labeltype = labeltype;
    }

    public String getGenre() {
        return genre;
    }

    public void setGenre(String genre) {
        this.genre = genre;
    }

    public String getReleaseyear() {
        return releaseyear;
    }

    public void setReleaseyear(String releaseyear) {
        this.releaseyear = releaseyear;
    }

    public String getCopyright() {
        return copyright;
    }

    public void setCopyright(String copyright) {
        this.copyright = copyright;
    }

    public String getContentprovider() {
        return contentprovider;
    }

    public void setContentprovider(String contentprovider) {
        this.contentprovider = contentprovider;
    }

    public String getColumnpath() {
        return columnpath;
    }

    public void setColumnpath(String columnpath) {
        this.columnpath = columnpath;
    }

    public LocalDateTime getCopyrightexpirationtime() {
        return copyrightexpirationtime;
    }

    public void setCopyrightexpirationtime(LocalDateTime copyrightexpirationtime) {
        this.copyrightexpirationtime = copyrightexpirationtime;
    }

    public String getType1() {
        return type1;
    }

    public void setType1(String type1) {
        this.type1 = type1;
    }

    public String getLockflag() {
        return lockflag;
    }

    public void setLockflag(String lockflag) {
        this.lockflag = lockflag;
    }

    public String getPgmcategory() {
        return pgmcategory;
    }

    public void setPgmcategory(String pgmcategory) {
        this.pgmcategory = pgmcategory;
    }

    public String getPgmsndclass() {
        return pgmsndclass;
    }

    public void setPgmsndclass(String pgmsndclass) {
        this.pgmsndclass = pgmsndclass;
    }

    public String getOriginalcountry() {
        return originalcountry;
    }

    public void setOriginalcountry(String originalcountry) {
        this.originalcountry = originalcountry;
    }

    public Integer getContentproviderid() {
        return contentproviderid;
    }

    public void setContentproviderid(Integer contentproviderid) {
        this.contentproviderid = contentproviderid;
    }

    public Integer getCopyrighterid() {
        return copyrighterid;
    }

    public void setCopyrighterid(Integer copyrighterid) {
        this.copyrighterid = copyrighterid;
    }

    public String getEditmode() {
        return editmode;
    }

    public void setEditmode(String editmode) {
        this.editmode = editmode;
    }

    public String getLabelids() {
        return labelids;
    }

    public void setLabelids(String labelids) {
        this.labelids = labelids;
    }

    public String getAutoflag() {
        return autoflag;
    }

    public void setAutoflag(String autoflag) {
        this.autoflag = autoflag;
    }

    public String getPublishflag() {
        return publishflag;
    }

    public void setPublishflag(String publishflag) {
        this.publishflag = publishflag;
    }

    public String getUsableflag() {
        return usableflag;
    }

    public void setUsableflag(String usableflag) {
        this.usableflag = usableflag;
    }

    public String getRating() {
        return rating;
    }

    public void setRating(String rating) {
        this.rating = rating;
    }

    public Integer getProgramtypeid() {
        return programtypeid;
    }

    public void setProgramtypeid(Integer programtypeid) {
        this.programtypeid = programtypeid;
    }

    public Integer getEpgpublisheventdetailid() {
        return epgpublisheventdetailid;
    }

    public void setEpgpublisheventdetailid(Integer epgpublisheventdetailid) {
        this.epgpublisheventdetailid = epgpublisheventdetailid;
    }

    public Integer getLastupdatestaffid() {
        return lastupdatestaffid;
    }

    public void setLastupdatestaffid(Integer lastupdatestaffid) {
        this.lastupdatestaffid = lastupdatestaffid;
    }

    public Integer getSetflag() {
        return setflag;
    }

    public void setSetflag(Integer setflag) {
        this.setflag = setflag;
    }

    public String getHwcode() {
        return hwcode;
    }

    public void setHwcode(String hwcode) {
        this.hwcode = hwcode;
    }

    public String getZtecode() {
        return ztecode;
    }

    public void setZtecode(String ztecode) {
        this.ztecode = ztecode;
    }

    public String getMergetype() {
        return mergetype;
    }

    public void setMergetype(String mergetype) {
        this.mergetype = mergetype;
    }

    public String getRecommendedindex() {
        return recommendedindex;
    }

    public void setRecommendedindex(String recommendedindex) {
        this.recommendedindex = recommendedindex;
    }

    public String getSimilarcontenttitle() {
        return similarcontenttitle;
    }

    public void setSimilarcontenttitle(String similarcontenttitle) {
        this.similarcontenttitle = similarcontenttitle;
    }

    public String getTitbitsmenuname() {
        return titbitsmenuname;
    }

    public void setTitbitsmenuname(String titbitsmenuname) {
        this.titbitsmenuname = titbitsmenuname;
    }

    public String getVersionmenuname() {
        return versionmenuname;
    }

    public void setVersionmenuname(String versionmenuname) {
        this.versionmenuname = versionmenuname;
    }

    public String getSeasonmenuname() {
        return seasonmenuname;
    }

    public void setSeasonmenuname(String seasonmenuname) {
        this.seasonmenuname = seasonmenuname;
    }

    public Integer getPolicytag4detail() {
        return policytag4detail;
    }

    public void setPolicytag4detail(Integer policytag4detail) {
        this.policytag4detail = policytag4detail;
    }

    public String getEpisodesmenuname() {
        return episodesmenuname;
    }

    public void setEpisodesmenuname(String episodesmenuname) {
        this.episodesmenuname = episodesmenuname;
    }

    public String getEpisodesstyle() {
        return episodesstyle;
    }

    public void setEpisodesstyle(String episodesstyle) {
        this.episodesstyle = episodesstyle;
    }

    public String getTitbitsstyle() {
        return titbitsstyle;
    }

    public void setTitbitsstyle(String titbitsstyle) {
        this.titbitsstyle = titbitsstyle;
    }

    public String getSeasonstyle() {
        return seasonstyle;
    }

    public void setSeasonstyle(String seasonstyle) {
        this.seasonstyle = seasonstyle;
    }

    public String getVersionstyle() {
        return versionstyle;
    }

    public void setVersionstyle(String versionstyle) {
        this.versionstyle = versionstyle;
    }

    public String getEpititle() {
        return epititle;
    }

    public void setEpititle(String epititle) {
        this.epititle = epititle;
    }

    @Override
    protected Serializable pkVal() {
        return this.seriesid;
    }

    @Override
    public String toString() {
        return "Series{" +
        "seriesid=" + seriesid +
        ", name=" + name +
        ", code=" + code +
        ", code2=" + code2 +
        ", status=" + status +
        ", stockoutflag=" + stockoutflag +
        ", vspid=" + vspid +
        ", alias=" + alias +
        ", titleSortName=" + titleSortName +
        ", titleSearchName=" + titleSearchName +
        ", orgairdate=" + orgairdate +
        ", validthrough=" + validthrough +
        ", validuntil=" + validuntil +
        ", price=" + price +
        ", volumcount=" + volumcount +
        ", description=" + description +
        ", memo=" + memo +
        ", kpeople=" + kpeople +
        ", director=" + director +
        ", scriptwriter=" + scriptwriter +
        ", compere=" + compere +
        ", guest=" + guest +
        ", reporter=" + reporter +
        ", opincharge=" + opincharge +
        ", createdate=" + createdate +
        ", createstaffid=" + createstaffid +
        ", lastupdatetime=" + lastupdatetime +
        ", seriestype=" + seriestype +
        ", labeltype=" + labeltype +
        ", genre=" + genre +
        ", releaseyear=" + releaseyear +
        ", copyright=" + copyright +
        ", contentprovider=" + contentprovider +
        ", columnpath=" + columnpath +
        ", copyrightexpirationtime=" + copyrightexpirationtime +
        ", type1=" + type1 +
        ", lockflag=" + lockflag +
        ", pgmcategory=" + pgmcategory +
        ", pgmsndclass=" + pgmsndclass +
        ", originalcountry=" + originalcountry +
        ", contentproviderid=" + contentproviderid +
        ", copyrighterid=" + copyrighterid +
        ", editmode=" + editmode +
        ", labelids=" + labelids +
        ", autoflag=" + autoflag +
        ", publishflag=" + publishflag +
        ", usableflag=" + usableflag +
        ", rating=" + rating +
        ", programtypeid=" + programtypeid +
        ", epgpublisheventdetailid=" + epgpublisheventdetailid +
        ", lastupdatestaffid=" + lastupdatestaffid +
        ", setflag=" + setflag +
        ", hwcode=" + hwcode +
        ", ztecode=" + ztecode +
        ", mergetype=" + mergetype +
        ", recommendedindex=" + recommendedindex +
        ", similarcontenttitle=" + similarcontenttitle +
        ", titbitsmenuname=" + titbitsmenuname +
        ", versionmenuname=" + versionmenuname +
        ", seasonmenuname=" + seasonmenuname +
        ", policytag4detail=" + policytag4detail +
        ", episodesmenuname=" + episodesmenuname +
        ", episodesstyle=" + episodesstyle +
        ", titbitsstyle=" + titbitsstyle +
        ", seasonstyle=" + seasonstyle +
        ", versionstyle=" + versionstyle +
        ", epititle=" + epititle +
        "}";
    }
}
